# -*- coding: utf-8 -*-
import urllib2
from bs4 import BeautifulSoup

def main():
    file = open('/Users/quanyuelong/2017_workspace/crawler-core/src/area.txt', 'r')
    index = 19
    while 1:
        line = file.readline()
        if not line:
            break
        if "(0," in line:
            print line.replace("(0,","("+str(index)+",")
            index +=1
        else:
            print line
if __name__ == "__main__":
    main()
